package ed.hbut.supermarket1.service;


import ed.hbut.supermarket1.entity.Goods;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface GoodsService {
    void addGoods(Goods goods);

    List<Goods> getGoods();

    Goods getGoodsById(int id);

    void updateGoods(int id, Goods goods);

    void deleteGoods(int id);
}
